(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     15288,        523]
NotebookOptionsPosition[     11912,        421]
NotebookOutlinePosition[     14068,        478]
CellTagsIndexPosition[     13983,        473]
WindowTitle->DiracChainExpand
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"DiracChain\"\>":>Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracChain"], "\<\"DCHN\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DCHN"], "\<\"DiracIndex\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracIndex"], "\<\"DiracIndexDelta\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracIndexDelta"], "\<\"DIDelta\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DIDelta"], "\<\"DiracChainJoin\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracChainJoin"], "\<\"DiracChainCombine\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracChainCombine"], "\<\"DiracChainFactor\"\>":>
       Documentation`HelpLookup["paclet:FeynCalc/ref/DiracChainFactor"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/DiracChainExpand\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/DiracChainExpand"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                "http://reference.wolfram.com/language/FeynCalc/ref/\
DiracChainExpand.html"], StandardForm]], "Input", TextClipboardType -> 
              "PlainText"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$62208], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], 
             "FeynCalc/ref/DiracChainExpand", ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["DiracChainExpand", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"DiracChainExpand", "[", "exp", "]"}]], "InlineFormula"],
     "\[LineSeparator]expands all Dirac chains with explicit indices using \
linearity, e.g. DCHN[GA[p1]+GA[p2]+m,i,j] becomes \
DCHN[GA[p1],i,j]+DCHN[GA[p2],i,j]+m*DCHN[1,i,j]"
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1597529093],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "DiracChainExpand", "]"}]], "Input",
 CellLabel->"In[23]:=",
 CellID->1618853500],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"DiracChainFactor", "\[Rule]", "True"}], ",", 
    RowBox[{"DiracGammaExpand", "\[Rule]", "True"}], ",", 
    RowBox[{"DotSimplify", "\[Rule]", "True"}], ",", 
    RowBox[{"FeynCalcExternal", "\[Rule]", "False"}], ",", 
    RowBox[{"FeynCalcInternal", "\[Rule]", "False"}], ",", 
    RowBox[{"Momentum", "\[Rule]", "All"}]}], "}"}], 
  TraditionalForm]], "Output",
 ImageSize->{457, 35},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[23]=",
 CellID->291092421]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->470537864],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->1361285226],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"DCHN", "[", 
  RowBox[{
   RowBox[{
    RowBox[{"(", 
     RowBox[{
      RowBox[{"GS", "[", "p", "]"}], "+", "m"}], ")"}], ".", 
    RowBox[{"GA", "[", "mu", "]"}]}], ",", "i", ",", "j"}], "]"}]], "Input",
 CellLabel->"In[1]:=",
 CellID->254261735],

Cell[BoxData[
 FormBox[
  SubscriptBox[
   RowBox[{"(", 
    FormBox[
     RowBox[{
      RowBox[{"(", 
       RowBox[{
        FormBox[
         RowBox[{
          OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
          FormBox[
           OverscriptBox[
            FormBox["p",
             TraditionalForm], "_"],
           TraditionalForm]}],
         TraditionalForm], "+", "m"}], ")"}], ".", 
      FormBox[
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["mu",
          TraditionalForm],
         TraditionalForm]],
       TraditionalForm]}],
     TraditionalForm], ")"}], 
   RowBox[{
    FormBox[
     FormBox["i",
      TraditionalForm],
     TraditionalForm], 
    FormBox[
     FormBox["j",
      TraditionalForm],
     TraditionalForm]}]], TraditionalForm]], "Output",
 ImageSize->{145, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]=",
 CellID->2116847820]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"DiracChainExpand", "[", "%", "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->2006590315],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"m", " ", 
    SubscriptBox[
     RowBox[{"(", 
      FormBox[
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["mu",
          TraditionalForm],
         TraditionalForm]],
       TraditionalForm], ")"}], 
     RowBox[{
      FormBox[
       FormBox["i",
        TraditionalForm],
       TraditionalForm], 
      FormBox[
       FormBox["j",
        TraditionalForm],
       TraditionalForm]}]]}], "+", 
   SubscriptBox[
    RowBox[{"(", 
     FormBox[
      RowBox[{
       RowBox[{"(", 
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p",
            TraditionalForm], "_"],
          TraditionalForm]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["mu",
          TraditionalForm],
         TraditionalForm]]}],
      TraditionalForm], ")"}], 
    RowBox[{
     FormBox[
      FormBox["i",
       TraditionalForm],
      TraditionalForm], 
     FormBox[
      FormBox["j",
       TraditionalForm],
      TraditionalForm]}]]}], TraditionalForm]], "Output",
 ImageSize->{207, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]=",
 CellID->1568837503]
}, Open  ]]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[{
 StyleBox[ButtonBox["DiracChain",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracChain",
  ButtonNote->"DiracChain"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DCHN",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DCHN",
  ButtonNote->"DiracChain"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracIndex",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracIndex",
  ButtonNote->"DiracIndex"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracIndexDelta",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracIndexDelta",
  ButtonNote->"DiracIndexDelta"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DIDelta",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DIDelta",
  ButtonNote->"DIDelta"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracChainJoin",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracChainJoin",
  ButtonNote->"DiracChainJoin"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracChainCombine",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracChainCombine",
  ButtonNote->"DiracChainCombine"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["DiracChainFactor",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracChainFactor",
  ButtonNote->"DiracChainFactor"],
  FontFamily->"Verdana"],
 "."
}], "SeeAlso",
 CellID->655647701]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"DiracChainExpand",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 3, 49.962519}", 
    "history" -> {"9.3", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "DiracChainExpand[exp] expands all Dirac chains with explicit indices \
using linearity, e.g. DCHN[GA[p1]+GA[p2]+m,i,j] becomes \
DCHN[GA[p1],i,j]+DCHN[GA[p2],i,j]+m*DCHN[1,i,j]", "synonyms" -> {}, 
    "tabletags" -> {}, "title" -> "DiracChainExpand", "titlemodifier" -> "", 
    "windowtitle" -> "DiracChainExpand", "type" -> "Symbol", "uri" -> 
    "FeynCalc/ref/DiracChainExpand"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[6715, 199, 387, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->470537864]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 13840, 466}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[588, 21, 3742, 87, 53, "AnchorBarGrid",
 CellID->1],
Cell[4333, 110, 293, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[4651, 125, 497, 13, 101, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[5173, 142, 739, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1597529093],
Cell[5915, 168, 31, 0, 14, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[5971, 172, 120, 3, 27, "Input",
 CellID->1618853500],
Cell[6094, 177, 560, 15, 56, "Output",
 CellID->291092421]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[6715, 199, 387, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->470537864],
Cell[CellGroupData[{
Cell[7127, 218, 196, 6, 26, "ExampleSection",
 CellID->1361285226],
Cell[CellGroupData[{
Cell[7348, 228, 273, 9, 27, "Input",
 CellID->254261735],
Cell[7624, 239, 969, 39, 40, "Output",
 CellID->2116847820]
}, Open  ]],
Cell[CellGroupData[{
Cell[8630, 283, 113, 3, 27, "Input",
 CellID->2006590315],
Cell[8746, 288, 1343, 55, 40, "Output",
 CellID->1568837503]
}, Open  ]]
}, Open  ]],
Cell[10116, 347, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[10184, 352, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[10457, 366, 1413, 50, 71, "SeeAlso",
 CellID->655647701]
}, Open  ]],
Cell[11885, 419, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

